#ifndef _BULLET_H_
#define _BULLET_H_

#include "Object.h"

#define BULLET_GRAVITY		0.01



class Bullet : public Object
{

	float _xPre;
	float _yPre;

	float _timeExplosion;
	float _timeLive;
	bool _isGravity;

public:
	
	OBJECT_TYPE getObjectType();

	Bullet(float x, float y, bool isLeft);
	~Bullet();

	void Move(list<Object*>* _list, float time);
	void Update(list<Object*>* _list, float time);
	void Render(int vpX, int vpY);
	void changeState(int state);
};

#endif